package com.sjb.sixteen_journey_backend.service;

import com.sjb.sixteen_journey_backend.common.R;
import com.sjb.sixteen_journey_backend.entity.HotelTicket;
import com.sjb.sixteen_journey_backend.entity.InsuranceTicket;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 保险理赔晒单表 服务类
 * </p>
 *
 * @author jcz
 * @since 2024-07-13
 */
public interface IInsuranceTicketService extends IService<InsuranceTicket> {

    R addInsuranceTicket(InsuranceTicket insuranceTicket);
//    R addInsuranceTicket(InsuranceTicket insuranceTicket, ArrayList<MultipartFile> images);

    R deleteInsuranceTicketById(Integer id);
//    R deleteInsuranceTicketById(Integer status, Integer id);

    R<List<InsuranceTicket>> showAllInsuranceTicket();

    R showAllTicketByIdAndStatus(Integer id,Boolean f);
//    R showAllTicketByIdAndStatus(Integer status, Integer id,Boolean f);

    R<List<InsuranceTicket>> showAllInsuranceTicketByUserId();

    InsuranceTicket setCountAndFollow(InsuranceTicket myTime);
}
